package com.lancoo.answer.model.bean

/**
 * Created by Dadong on 2021/12/6
 * Describe: 认知信息的数据模型
 */
data class CognitiveBean(
    var ClassAverageScore: String?="",//string，班级平均分，不传则不显示
    var ClassHighestScore: String?="",//string，班级最高分，不传则不显示
    var CognitionInfo: CognitionInfo?=null,
    var Duration: Int =0,//int，作答用时
    var Rank:String? = "",//string,班级排名
    var FullScore: String?="",//string，总分
    var Score: String?="",//string，得分
    var ScoreRate: String?="",//string,得分率
    var TotalStu: Int = 0,
    var TypeList: List<Type>? = null,
//考辅专用
    var PaperID: String? = "",
    var PaperName: String? = "",
    var State: Int = 1 ,//试卷状态，1-已发布，2-评阅中，3-已完成
    var StuName: String = "",
    var GlobalGrade:String = "K9"
)

data class CognitionInfo(
    var CognitiveRangeList: List<String>?=null, //占位解释：认知积分分段数组，元素为string
    var CurrCognitiveGradeName: String?="",//string，当前的认知等级
    var CurrCognitiveIndex: Float = 0f,//float，当前的认知积分
    var CurrEstimateScore: Float= 0f,//float，当前的预估成绩
    var EstimateScoreRangeList: List<String>?=null,//占位解释：预估成绩分段数组，元素为string
    var LastCognitiveGradeName: String?="",//string，上一次的认知等级
    var LastCognitiveIndex: Float=0f,//float，上一次的认知积分
    var LastEstimateScore: Float=0f,//float，上一次的预估成绩
    var PassRate: Float=-1f,//float，超过xx%小伙伴，传-1则不显示
    var ReturnFlag: Boolean=false,//bool，是否已经返回有效认知数据，1：返回，0：未返回
    //中学考辅专用
    var IncrCognitiveIndex:String = "0",
    var IncrEstimateScore:String = "0"
)

